This forum is closed to new posts and
responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:
How to access the values of the components in a repeat control from outside?
How can I access the values of the components in a repeat control from OUTSIDE that control?
Example:
Consider a repeat control that contains one radio button group control, named radioChooseLanguage. The repeat has as iteration value an integer (=value depending on user input). For example, if the user enters in an edit box the value 7, the repeat control will display 7 lines with each of them the radio button group.
Accessing the radio button group value from within the repeat control is easy: getComponent("radioChooseLanguage").getValue()
But how can I access this control outside the repeat? Since there are 7 controls in our example, there should be a way to address each of them?
NOTE: the values of the radio group control are NOT bound to a backend data source, since these controls are just used to capture user input, and they have no link with backend data.
Feedback response number WEBB8E5BLA created by ~Yoshi Zekponelitjip on 02/16/2011